package com.qfoud.edu.shiro.framwork.service.base;

import com.qfoud.edu.shiro.framwork.auth.AuthticationInfo;
import com.qfoud.edu.shiro.framwork.pojo.Subject;

import java.lang.reflect.InvocationTargetException;

/**
 * @author xiaobobo
 * @title: UserDetailService
 * @projectName cd-java-2303-project-parent
 * @description: TODO
 * @date 2023/5/11  15:37
 */
public abstract class UserDetailService {

    /**
     * 这个模板是留给用户去使用的
     * @param username
     * @return
     */
    public abstract Subject loadUserByName(String username) throws Exception;

}
